﻿using System.Web.Mvc;

namespace Avalon.Core.Providers {
    /// <summary>
    /// The description of an action
    /// </summary>
    public class ActionDescriptor : IActionDescriptor {
        /// <summary>
        /// An action has a name. Usually the name of the action as supplied by the routing engine.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// The action invoker
        /// </summary>
        /// <returns></returns>
        public IActionInvoker ActionInvoker { get; set; }
    }
}
